package com.wulinbus.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.wulinbus.dao.script.RemitOrderDao;
import com.wulinbus.model.RemitOrderModel;
import com.wulinbus.service.RemitOrderService;

@Service
public class RemitOrderServiceImpl implements RemitOrderService{
	@Resource
	RemitOrderDao remitOrderDao;
	public RemitOrderModel getRemitOrderModelBySid(Integer sid){
		return remitOrderDao.getRemitOrderModelBySid(sid);
	}
	@Override
	public void insertRemitOrder(RemitOrderModel remitOrder) {
		// TODO Auto-generated method stub
		remitOrderDao.insertRemitOrder(remitOrder);
	}
	@Override
	public List<RemitOrderModel> getRemitOrderList(String keyword,
			Integer start, Integer pageSize) {
		// TODO Auto-generated method stub
		return remitOrderDao.getRemitOrderList(keyword,start,pageSize);
	}
	@Override
	public Integer remitOrderCount(String keyword) {
		// TODO Auto-generated method stub
		return remitOrderDao.remitOrderCount(keyword);
	}
}
